/*
 * @Author: aliyun3129073295 1718324422@qq.com
 * @Date: 2022-10-21 16:15:30
 * @LastEditors: zhuxin xu
 * @LastEditTime: 2023-01-29 13:50:39
 * @FilePath: \xu_vue\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Vue from "vue";
import App from "./App.vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import JsonExcel from "vue-json-excel";
// 国际化
import i18n from "./i18n/index";
import locale from "element-ui/lib/locale/lang/en";
Vue.use(ElementUI, { locale });
// Vue.prototype.$ad = "shdkjsakesssxcc";
//将属性为$ad的值挂载到vue实例上
// 引入vue-router
import router from "./router";
import * as api from "./api/index";
Vue.prototype.$api = api;
//引入公共css
import "./assets/css/reset.css";
Vue.component("downloadExcel", JsonExcel);
Vue.use(ElementUI);
Vue.config.productionTip = false;
// 不显示生产环境的提示

new Vue({
  router,
  i18n,
  render: h => h(App)
}).$mount("#app");
